<template>
  <div></div>
</template>

<script>
export default {
  onLoad(options) {
    let that = this;
    that.getUserProfile();
  },
  methods: {
    // 获取用户信息
    getUserProfile() {
      this.$u.api.ucenter.profile().then((res) => {
        this.$u.vuex("userInfo", res);
      });
    },
  },
};
</script>

<style lang="scss" scoped></style>
